package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.GoodsEvaluateDao;
import com.frogs.ucenter.entity.GoodsEvaluate;
import com.frogs.ucenter.service.GoodsEvaluateService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("goodsEvaluateService")
public class GoodsEvaluateServiceImpl extends BaseServiceImpl<GoodsEvaluate> implements GoodsEvaluateService {
    @Autowired
    private GoodsEvaluateDao goodsEvaluateDao;

    public GoodsEvaluateServiceImpl() {
        super();
    }

    public GoodsEvaluateDao getGoodsEvaluateDao() {
        return goodsEvaluateDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<GoodsEvaluate> getBaseDao() {
        return goodsEvaluateDao;
    }

    public void setGoodsEvaluateDao(GoodsEvaluateDao goodsEvaluateDao) {
        this.goodsEvaluateDao = goodsEvaluateDao;
    }
}